home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (GroovySystemTest.groovy)

This example Groovy source code file (GroovySystemTest.groovy) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

groovysystemtest, groovysystemtest, groovytestcase, groovytestcase, log, logging

The Groovy GroovySystemTest.groovy source code

package groovy.lang

import java.util.logging.*

/**
 * Tests for the GroovySystem class
 *
 * @author Graeme Rocher
 * @author Roshan Dawrani
 **/

class GroovySystemTest extends GroovyTestCase {

    void testGetMetaClassRegistry() {
        assert GroovySystem.metaClassRegistry
        assert GroovySystem.getMetaClassRegistry()
    }

    void testGroovyVersion() {
        assert GroovySystem.getVersion()
    }
}

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy GroovySystemTest.groovy source code file:

new blog posts

 

Copyright 1998-2014 Alvin Alexander, alvinalexander.com
All Rights Reserved.