1 package org.feistymeow.system;
3 import static org.junit.Assert.*;
6 import org.feistymeow.system.RegistryEditor;
17 public void setUp() throws Exception
46 String PERSONAL_FOLDER_KEY =
"HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
47 String PERSONAL_FOLDER_VALUE =
"Personal";
54 String PERSONAL_FOLDER_KEY =
"HKCU\\Flombix\\Gruntnork";
55 String PERSONAL_FOLDER_VALUE =
"Personalish";
63 String EXAMPLE_KEY_ROOT =
"HKCU\\Software\\SpunkBaster5000";
64 String EXAMPLE_KEY = EXAMPLE_KEY_ROOT +
"\\traumix";
65 String EXAMPLE_VALUE =
"glonkish";
66 String EXAMPLE_CONTENTS1 =
"ralphWiggum!";
67 String EXAMPLE_CONTENTS2 =
"moeSzyslak?";
void testGetValue_present()
void testCheckKey_missing()
void testCheckKey_present()
void testSetValueAndRemove_AllWork()
void testGetValue_missing()
static boolean deleteKey(String keyName)
static boolean setValue(String keyName, String valueName, String typeExpected, String newValue)
static boolean checkKey(String keyName)
static final String STRING_TYPE
static String getValue(String keyName, String valueName, String typeExpected)
static boolean deleteValue(String keyName, String valueName)