gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r209726 - in /gump/branches/Gump3: ./ pygump/python/gump/test/
Date Fri, 08 Jul 2005 10:00:10 GMT
Author: leosimons
Date: Fri Jul  8 03:00:08 2005
New Revision: 209726

URL: http://svn.apache.org/viewcvs?rev=209726&view=rev
Log:
Start an effort to fix up our unit tests.

 * gump: add a new 'create-new-unit-test' command that generates a unit test stub
         and adds it to SVN.

 * pygump/python/gump/test: normalize filenames of tests to correspond with the
         names the new-unit-test command generates.

 * pygump/python/gump/test: add a bunch of testcase stubs for the current codebase.

 * pygump/python/gump/test/testPluginBuilder.py: fix test to have a 'true' stub as
         its mock.

Added:
    gump/branches/Gump3/pygump/python/gump/test/testConfig.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineAlgorithm.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineLoader.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineModeller.py
      - copied unchanged from r209722, gump/branches/Gump3/pygump/python/gump/test/testModeller.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineNormalizer.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineObjectifier.py
    gump/branches/Gump3/pygump/python/gump/test/testEnginePersistence.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineVerifier.py
    gump/branches/Gump3/pygump/python/gump/test/testEngineWalker.py
      - copied unchanged from r209722, gump/branches/Gump3/pygump/python/gump/test/testWalker.py
    gump/branches/Gump3/pygump/python/gump/test/testModelUtil.py
    gump/branches/Gump3/pygump/python/gump/test/testPlugins.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsDynagumper.py
      - copied unchanged from r209722, gump/branches/Gump3/pygump/python/gump/test/testDynagumper.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsInstrumentation.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsIntrospection.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsIrc.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsJavaBuilder.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsLogreporter.py
    gump/branches/Gump3/pygump/python/gump/test/testPluginsUpdater.py
    gump/branches/Gump3/pygump/python/gump/test/testUtil.py
    gump/branches/Gump3/pygump/python/gump/test/testUtilIo.py
      - copied unchanged from r209722, gump/branches/Gump3/pygump/python/gump/test/testUtilIO.py
    gump/branches/Gump3/pygump/python/gump/test/testUtilSysinfo.py
Removed:
    gump/branches/Gump3/pygump/python/gump/test/testDynagumper.py
    gump/branches/Gump3/pygump/python/gump/test/testExample.py
    gump/branches/Gump3/pygump/python/gump/test/testModeller.py
    gump/branches/Gump3/pygump/python/gump/test/testUtilIO.py
    gump/branches/Gump3/pygump/python/gump/test/testWalker.py
Modified:
    gump/branches/Gump3/   (props changed)
    gump/branches/Gump3/gump
    gump/branches/Gump3/pygump/python/gump/test/testPluginBuilder.py

Propchange: gump/branches/Gump3/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jul  8 03:00:08 2005
@@ -1,2 +1,2 @@
 logs
-
+work

Modified: gump/branches/Gump3/gump
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/gump?rev=209726&r1=209725&r2=209726&view=diff
==============================================================================
--- gump/branches/Gump3/gump (original)
+++ gump/branches/Gump3/gump Fri Jul  8 03:00:08 2005
@@ -258,6 +258,14 @@
       at least compile.
 "
         ;;
+    new-unit-test)
+      echo "
+      Generates a new unit test.
+
+      Usage:
+        $0 new-unit-test -m module.to.test [-n nameoftest]
+"
+        ;;
     *)
       echo "
       Utility commandline interface for Gump.
@@ -868,6 +876,94 @@
   cd $current
 }
 
+# Create a new unit test from a template
+function new_unit_test
+{
+  # defaults
+  local year=`date +"%Y"`
+  local testmodule=""
+  local testname=""
+
+  # parse CLI args
+  while getopts ":n:m:" opt; do
+    case $opt in
+      n)
+        testname="$OPTARG"
+        ;;
+      m)
+        testmodule="$OPTARG"
+        ;;
+      \?)
+        usage "new-unit-test"
+        exit 1
+        ;;
+    esac
+  done
+  shift $(($OPTIND - 1))
+  
+  if [[ -z "$testmodule" ]]; then
+    echo "ERROR: Please specify the module to test!"
+    usage "new-unit-test"
+    exit 1
+  fi
+  if [[ -z "$testname" ]]; then
+    testname="$testmodule"
+    testname="${testname#gump.}"
+    for i in a b c d e f g h i j k l m n o p q r s t u v w x y z; do
+      upper=`echo "$i" | tr [:lower:] [:upper:]`
+      testname="${testname//.$i/$upper}"
+    done
+  fi
+  
+  local testclassname=${testname}
+  local testclassnamechar1=${testname:0:1}
+  testclassnamechar1=`echo "$testclassnamechar1" | tr [:lower:] [:upper:]`
+  local testclassnamerest=${testname:1}
+  testclassname="${testclassnamechar1}${testclassnamerest}"
+  
+  local testfile="$GUMP_HOME/pygump/python/gump/test/test$testclassname.py"
+  if [[ -f "$testfile" ]]; then
+    error "ERROR: Test $testfile already exists!"
+  fi
+
+  cat > $testfile <<ENDTEST
+#!/usr/bin/env python
+
+# Copyright ${year} The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) ${year} The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for ${testmodule}"""
+
+import unittest
+from pmock import *
+
+from ${testmodule} import *
+
+class ${testclassname}TestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass
+ENDTEST
+  svn add ${testfile}
+}
+
 #############################################################################
 # Main
 #############################################################################
@@ -919,6 +1015,9 @@
       ;;
     pydoc)
       pydoc $@
+      ;;
+    new-unit-test)
+      new_unit_test $@
       ;;
     # this is short-circuited below because we don't really
     # want to load complain about missing environment settings

Added: gump/branches/Gump3/pygump/python/gump/test/testConfig.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testConfig.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testConfig.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testConfig.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.config"""
+
+import unittest
+from pmock import *
+
+from gump.config import *
+
+class ConfigTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEngineAlgorithm.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngineAlgorithm.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngineAlgorithm.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngineAlgorithm.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.algorithm"""
+
+import unittest
+from pmock import *
+
+from gump.engine.algorithm import *
+
+class EngineAlgorithmTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEngineLoader.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngineLoader.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngineLoader.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngineLoader.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.loader"""
+
+import unittest
+from pmock import *
+
+from gump.engine.loader import *
+
+class EngineLoaderTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEngineNormalizer.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngineNormalizer.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngineNormalizer.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngineNormalizer.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.normalizer"""
+
+import unittest
+from pmock import *
+
+from gump.engine.normalizer import *
+
+class EngineNormalizerTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEngineObjectifier.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngineObjectifier.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngineObjectifier.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngineObjectifier.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.objectifier"""
+
+import unittest
+from pmock import *
+
+from gump.engine.objectifier import *
+
+class EngineObjectifierTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEnginePersistence.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEnginePersistence.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEnginePersistence.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEnginePersistence.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.persistence"""
+
+import unittest
+from pmock import *
+
+from gump.engine.persistence import *
+
+class EnginePersistenceTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testEngineVerifier.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testEngineVerifier.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testEngineVerifier.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testEngineVerifier.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.engine.verifier"""
+
+import unittest
+from pmock import *
+
+from gump.engine.verifier import *
+
+class EngineVerifierTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testModelUtil.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testModelUtil.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testModelUtil.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testModelUtil.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.model.util"""
+
+import unittest
+from pmock import *
+
+from gump.model.util import *
+
+class ModelUtilTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Modified: gump/branches/Gump3/pygump/python/gump/test/testPluginBuilder.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginBuilder.py?rev=209726&r1=209725&r2=209726&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginBuilder.py (original)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginBuilder.py Fri Jul  8 03:00:08 2005
@@ -66,7 +66,9 @@
                 scriptfile.close()
                 os.chmod(scriptpath, 0755)
 
-            plugin = ScriptBuilderPlugin(basedir, self.mock())
+            log = self.mock()
+            log.stubs().method("debug")
+            plugin = ScriptBuilderPlugin(basedir, log)
 
             cmd = Script(p, "dobuild")
             plugin._do_script(cmd.project, cmd)

Added: gump/branches/Gump3/pygump/python/gump/test/testPlugins.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPlugins.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPlugins.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPlugins.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins"""
+
+import unittest
+from pmock import *
+
+from gump.plugins import *
+
+class PluginsTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsInstrumentation.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsInstrumentation.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsInstrumentation.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsInstrumentation.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.instrumentation"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.instrumentation import *
+
+class PluginsInstrumentationTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsIntrospection.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsIntrospection.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsIntrospection.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsIntrospection.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.introspection"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.introspection import *
+
+class PluginsIntrospectionTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsIrc.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsIrc.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsIrc.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsIrc.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.irc"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.irc import *
+
+class PluginsIrcTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsJavaBuilder.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsJavaBuilder.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsJavaBuilder.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsJavaBuilder.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.java.builder"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.java.builder import *
+
+class PluginsJavaBuilderTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsLogreporter.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsLogreporter.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsLogreporter.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsLogreporter.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.logreporter"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.logreporter import *
+
+class PluginsLogreporterTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testPluginsUpdater.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testPluginsUpdater.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testPluginsUpdater.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testPluginsUpdater.py Fri Jul  8 03:00:08
2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.plugins.updater"""
+
+import unittest
+from pmock import *
+
+from gump.plugins.updater import *
+
+class PluginsUpdaterTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testUtil.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testUtil.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testUtil.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testUtil.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.util"""
+
+import unittest
+from pmock import *
+
+from gump.util import *
+
+class UtilTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass

Added: gump/branches/Gump3/pygump/python/gump/test/testUtilSysinfo.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/test/testUtilSysinfo.py?rev=209726&view=auto
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/test/testUtilSysinfo.py (added)
+++ gump/branches/Gump3/pygump/python/gump/test/testUtilSysinfo.py Fri Jul  8 03:00:08 2005
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+# Copyright 2005 The Apache Software Foundation
+#
+# 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.
+
+__copyright__ = "Copyright (c) 2005 The Apache Software Foundation"
+__license__   = "http://www.apache.org/licenses/LICENSE-2.0"
+
+"""Tests for gump.util.sysinfo"""
+
+import unittest
+from pmock import *
+
+from gump.util.sysinfo import *
+
+class UtilSysinfoTestCase(MockTestCase):
+    def setUp(self):
+        pass
+    
+    def test_something(self):
+        # TODO replace with something useful
+        pass



Mime
View raw message