Class: JavaMetadataHook

Inherits:
Mumukit::Hook
  • Object
show all
Defined in:
lib/metadata_hook.rb

Instance Method Summary collapse

Instance Method Details

#metadataObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/metadata_hook.rb', line 2

def 
  {language: {
      name: 'java',
      icon: {type: 'devicon', name: 'java'},
      version: 'openjdk-8',
      extension: 'java',
      ace_mode: 'java'
  },
   test_framework: {
       name: 'junit',
       version: '4.12',
       test_extension: 'java',
       template: <<java
@Test
public void testDescriptionExample() {
Assert.assertTrue(true);
}
java
   }}
end