~ubuntu-branches/debian/sid/cde/sid

« back to all changes in this revision

Viewing changes to tests/java_test/testme.py

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-02-03 19:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20120203192705-ll6f1nr45ead65ed
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import os, sys
 
2
sys.path.insert(0, '..')
 
3
from cde_test_common import *
 
4
 
 
5
def checker_func():
 
6
  assert os.path.isfile(CDE_ROOT_DIR + '/usr/bin/java')
 
7
  assert os.path.islink(CDE_ROOT_DIR + '/usr/bin/java')
 
8
  assert os.path.isfile(CDE_ROOT_DIR + '/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java')
 
9
 
 
10
generic_test_runner(["java", "HelloWorld"], checker_func)