svnno****@sourc*****
svnno****@sourc*****
2009年 4月 4日 (土) 18:13:17 JST
Revision: 3100 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3100 Author: daisuke_m Date: 2009-04-04 18:13:17 +0900 (Sat, 04 Apr 2009) Log Message: ----------- テストクラス移動。ついmainに作っちまうなぁ。。w Added Paths: ----------- artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/internal/test/TestModelsTestBase.java Removed Paths: ------------- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/test/TestModelsTestBase.java -------------- next part -------------- Deleted: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/test/TestModelsTestBase.java =================================================================== --- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/test/TestModelsTestBase.java 2009-04-04 07:45:40 UTC (rev 3099) +++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/test/TestModelsTestBase.java 2009-04-04 09:13:17 UTC (rev 3100) @@ -1,79 +0,0 @@ -/* - * Copyright 2007-2009 Jiemamy Project and the Others. - * Created on 2009/04/04 - * - * This file is part of Jiemamy. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, - * either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ -package org.jiemamy.internal.test; - -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * TODO for daisuke - * - * @author daisuke - */ -public abstract class TestModelsTestBase { - - private static Logger logger = LoggerFactory.getLogger(TestModelsTestBase.class); - - private TestModelBuilderProvider provider; - - - /** - * TODO for daisuke - * - * @param entry - * @throws Exception - */ - public abstract void doTest(TestModelEntry entry) throws Exception; - - /** - * テストを初期化する。 - * - * @throws Exception 例外が発生した場合 - */ - @Before - public void setUp() throws Exception { - provider = new TestModelBuilderProvider(); - } - - /** - * テストの情報を破棄する。 - * - * @throws Exception 例外が発生した場合 - */ - @After - public void tearDown() throws Exception { - provider = null; - } - - /** - * TODO for daisuke - * - * @throws Exception 例外が発生した場合 - */ - @Test - public void testAllEntries() throws Exception { - for (TestModelEntry entry : provider) { - logger.info("==== Test Model: " + entry.getName()); - doTest(entry); - } - } -} Copied: artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/internal/test/TestModelsTestBase.java (from rev 3099, artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/internal/test/TestModelsTestBase.java) =================================================================== --- artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/internal/test/TestModelsTestBase.java (rev 0) +++ artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/internal/test/TestModelsTestBase.java 2009-04-04 09:13:17 UTC (rev 3100) @@ -0,0 +1,79 @@ +/* + * Copyright 2007-2009 Jiemamy Project and the Others. + * Created on 2009/04/04 + * + * This file is part of Jiemamy. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language + * governing permissions and limitations under the License. + */ +package org.jiemamy.internal.test; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * TODO for daisuke + * + * @author daisuke + */ +public abstract class TestModelsTestBase { + + private static Logger logger = LoggerFactory.getLogger(TestModelsTestBase.class); + + private TestModelBuilderProvider provider; + + + /** + * TODO for daisuke + * + * @param entry + * @throws Exception + */ + public abstract void doTest(TestModelEntry entry) throws Exception; + + /** + * テストを初期化する。 + * + * @throws Exception 例外が発生した場合 + */ + @Before + public void setUp() throws Exception { + provider = new TestModelBuilderProvider(); + } + + /** + * テストの情報を破棄する。 + * + * @throws Exception 例外が発生した場合 + */ + @After + public void tearDown() throws Exception { + provider = null; + } + + /** + * TODO for daisuke + * + * @throws Exception 例外が発生した場合 + */ + @Test + public void testAllEntries() throws Exception { + for (TestModelEntry entry : provider) { + logger.info("==== Test Model: " + entry.getName()); + doTest(entry); + } + } +} Property changes on: artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/internal/test/TestModelsTestBase.java ___________________________________________________________________ Added: svn:mime-type + text/plain