public void testIsExplicit() { int x; assertTrue("isExplicit with a explicit", Flags.isExplicit(IConstants.AccExplicit)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccExplicit) assertTrue("isExplicit with a non-explicit", !Flags.isExplicit(flags[x])); } }
public void testIsStatic() { int x; assertTrue("isStatic with a static", Flags.isStatic(IConstants.AccStatic)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccStatic) assertTrue("isStatic with a non-static", !Flags.isStatic(flags[x])); } }
public void testIsAbstract() { int x; assertTrue("isAbstract with a abstract", Flags.isAbstract(IConstants.AccAbstract)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccAbstract) assertTrue("isAbstract with a non-abstract", !Flags.isAbstract(flags[x])); } }
public void testIsVirtual() { int x; assertTrue("isVirtual with a Virtual", Flags.isVirtual(IConstants.AccVirtual)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccVirtual) assertTrue("isVirtual with a non-Virtual", !Flags.isVirtual(flags[x])); } }
public void testIsVolatile() { int x; assertTrue("isVolatile with a Volatile", Flags.isVolatile(IConstants.AccVolatile)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccVolatile) assertTrue("isVolatile with a non-Volatile", !Flags.isVolatile(flags[x])); } }
public void testIsRegister() { int x; assertTrue("isRegister with a Register", Flags.isRegister(IConstants.AccRegister)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccRegister) assertTrue("isRegister with a non-Register", !Flags.isRegister(flags[x])); } }
public void testIsProtected() { int x; assertTrue("isProtected with a Protected", Flags.isProtected(IConstants.AccProtected)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccProtected) assertTrue("isProtected with a non-Protected", !Flags.isProtected(flags[x])); } }
public void testIsPrivate() { int x; assertTrue("isPrivate with a Private", Flags.isPrivate(IConstants.AccPrivate)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccPrivate) assertTrue("isPrivate with a non-Private", !Flags.isPrivate(flags[x])); } }
public void testIsInline() { int x; assertTrue("isInline with a Inline", Flags.isInline(IConstants.AccInline)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccInline) assertTrue("isInline with a non-Inline", !Flags.isInline(flags[x])); } }
public void testIsExtern() { int x; assertTrue("isExtern with a Extern", Flags.isExtern(IConstants.AccExtern)); for (x = 0; x < flags.length; x++) { if (flags[x] != IConstants.AccExtern) assertTrue("isExtern with a non-Extern", !Flags.isExtern(flags[x])); } }