From 40a9d99496e098562f090fb7ffce9e749011b131 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 20 May 2024 17:58:16 -0400 Subject: Formatting pass --- .../java/net/wotonomy/foundation/NSBundleTest.java | 219 ++++++++------------- 1 file changed, 85 insertions(+), 134 deletions(-) (limited to 'projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java') diff --git a/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java b/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java index d441bec..3945f4a 100644 --- a/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java +++ b/projects/net.wotonomy.foundation/src/test/java/net/wotonomy/foundation/NSBundleTest.java @@ -30,7 +30,7 @@ public class NSBundleTest extends TestCase { public NSBundleTest(String arg0) { super(arg0); } - + protected void setUp() throws Exception { super.setUp(); } @@ -39,141 +39,92 @@ public class NSBundleTest extends TestCase { super.tearDown(); } /* - public void testNSBundle() { - //TODO Implement NSBundle(). - fail("Test not implemented."); - } - - public void testBundleForClass() { - //TODO Implement bundleForClass(). - fail("Test not implemented."); - } - */ - - public void testBundleWithURL() throws Exception{ + * public void testNSBundle() { //TODO Implement NSBundle(). + * fail("Test not implemented."); } + * + * public void testBundleForClass() { //TODO Implement bundleForClass(). + * fail("Test not implemented."); } + */ + + public void testBundleWithURL() throws Exception { /* - URL url = new File(System.getProperty("user.dir")+"/target/test-classes/TestBundle.framework").toURI().toURL(); - System.out.println(url.toString()); - NSBundle bundle = NSBundle.bundleWithURL(url); - Assert.assertNotNull(bundle); - Assert.assertEquals("TestBundle",bundle.name()); - Assert.assertEquals(true,bundle.isFramework()); - Properties p = bundle.properties(); - Assert.assertNotNull(p); - Assert.assertEquals("TestValue",p.getProperty("TestKey")); - */ + * URL url = new File(System.getProperty("user.dir")+ + * "/target/test-classes/TestBundle.framework").toURI().toURL(); + * System.out.println(url.toString()); NSBundle bundle = + * NSBundle.bundleWithURL(url); Assert.assertNotNull(bundle); + * Assert.assertEquals("TestBundle",bundle.name()); + * Assert.assertEquals(true,bundle.isFramework()); Properties p = + * bundle.properties(); Assert.assertNotNull(p); + * Assert.assertEquals("TestValue",p.getProperty("TestKey")); + */ } /* - public void testBundleForName() { - //TODO Implement bundleForName(). - fail("Test not implemented."); - } - - public void testFrameworkBundles() { - //TODO Implement frameworkBundles(). - fail("Test not implemented."); - } - - public void testSetMainBundle() { - //TODO Implement setMainBundle(). - fail("Test not implemented."); - } - - public void testMainBundle() { - //TODO Implement mainBundle(). - fail("Test not implemented."); - } - - public void testDefaultLocalePrefix() { - //TODO Implement defaultLocalePrefix(). - fail("Test not implemented."); - } - - public void testFindOrCreateBundleWithPath() { - //TODO Implement findOrCreateBundleWithPath(). - fail("Test not implemented."); - } - - public void testBundleClassPackageNames() { - //TODO Implement bundleClassPackageNames(). - fail("Test not implemented."); - } - - public void testBundlePath() { - //TODO Implement bundlePath(). - fail("Test not implemented."); - } - - public void testBytesForResourcePath() { - //TODO Implement bytesForResourcePath(). - fail("Test not implemented."); - } - - public void testBundleClassNames() { - //TODO Implement bundleClassNames(). - fail("Test not implemented."); - } - - public void testInfoDictionary() { - //TODO Implement infoDictionary(). - fail("Test not implemented."); - } - - public void testInputStreamForResourcePath() { - //TODO Implement inputStreamForResourcePath(). - fail("Test not implemented."); - } - - public void testIsFramework() { - //TODO Implement isFramework(). - fail("Test not implemented."); - } - - public void testLoad() { - //TODO Implement load(). - fail("Test not implemented."); - } - - public void testName() { - //TODO Implement name(). - fail("Test not implemented."); - } - - public void testPrincipalClass() { - //TODO Implement principalClass(). - fail("Test not implemented."); - } - - public void testProperties() { - //TODO Implement properties(). - fail("Test not implemented."); - } - - public void testResourcePathForLocalizedResourceNamed() { - //TODO Implement resourcePathForLocalizedResourceNamed(). - fail("Test not implemented."); - } - - public void testResourcePathsForDirectories() { - //TODO Implement resourcePathsForDirectories(). - fail("Test not implemented."); - } - - public void testResourcePathsForLocalizedResources() { - //TODO Implement resourcePathsForLocalizedResources(). - fail("Test not implemented."); - } - - public void testResourcePathsForResources() { - //TODO Implement resourcePathsForResources(). - fail("Test not implemented."); - } - - public void testToString() { - //TODO Implement toString(). - fail("Test not implemented."); - } - - */ + * public void testBundleForName() { //TODO Implement bundleForName(). + * fail("Test not implemented."); } + * + * public void testFrameworkBundles() { //TODO Implement frameworkBundles(). + * fail("Test not implemented."); } + * + * public void testSetMainBundle() { //TODO Implement setMainBundle(). + * fail("Test not implemented."); } + * + * public void testMainBundle() { //TODO Implement mainBundle(). + * fail("Test not implemented."); } + * + * public void testDefaultLocalePrefix() { //TODO Implement + * defaultLocalePrefix(). fail("Test not implemented."); } + * + * public void testFindOrCreateBundleWithPath() { //TODO Implement + * findOrCreateBundleWithPath(). fail("Test not implemented."); } + * + * public void testBundleClassPackageNames() { //TODO Implement + * bundleClassPackageNames(). fail("Test not implemented."); } + * + * public void testBundlePath() { //TODO Implement bundlePath(). + * fail("Test not implemented."); } + * + * public void testBytesForResourcePath() { //TODO Implement + * bytesForResourcePath(). fail("Test not implemented."); } + * + * public void testBundleClassNames() { //TODO Implement bundleClassNames(). + * fail("Test not implemented."); } + * + * public void testInfoDictionary() { //TODO Implement infoDictionary(). + * fail("Test not implemented."); } + * + * public void testInputStreamForResourcePath() { //TODO Implement + * inputStreamForResourcePath(). fail("Test not implemented."); } + * + * public void testIsFramework() { //TODO Implement isFramework(). + * fail("Test not implemented."); } + * + * public void testLoad() { //TODO Implement load(). + * fail("Test not implemented."); } + * + * public void testName() { //TODO Implement name(). + * fail("Test not implemented."); } + * + * public void testPrincipalClass() { //TODO Implement principalClass(). + * fail("Test not implemented."); } + * + * public void testProperties() { //TODO Implement properties(). + * fail("Test not implemented."); } + * + * public void testResourcePathForLocalizedResourceNamed() { //TODO Implement + * resourcePathForLocalizedResourceNamed(). fail("Test not implemented."); } + * + * public void testResourcePathsForDirectories() { //TODO Implement + * resourcePathsForDirectories(). fail("Test not implemented."); } + * + * public void testResourcePathsForLocalizedResources() { //TODO Implement + * resourcePathsForLocalizedResources(). fail("Test not implemented."); } + * + * public void testResourcePathsForResources() { //TODO Implement + * resourcePathsForResources(). fail("Test not implemented."); } + * + * public void testToString() { //TODO Implement toString(). + * fail("Test not implemented."); } + * + */ } -- cgit v1.2.3