Bug 460808 - Access the static fields declared in TestBuilder directly

Change-Id: I3ad2a9643da81e6e1bf25d50b7248465b685da50
Signed-off-by: Szymon Ptaszkiewicz <szymon.ptaszkiewicz@pl.ibm.com>
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
index c846259..7cbf89b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * Copyright (c) 2000, 2015 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -160,8 +160,8 @@
 
 		//now add the snow nature back and ensure snow builder runs
 		builder.reset();
-		builder.addExpectedLifecycleEvent(SnowBuilder.SET_INITIALIZATION_DATA);
-		builder.addExpectedLifecycleEvent(SnowBuilder.STARTUP_ON_INITIALIZE);
+		builder.addExpectedLifecycleEvent(TestBuilder.SET_INITIALIZATION_DATA);
+		builder.addExpectedLifecycleEvent(TestBuilder.STARTUP_ON_INITIALIZE);
 		builder.addExpectedLifecycleEvent(SnowBuilder.SNOW_BUILD_EVENT);
 		try {
 			IProjectDescription desc = project.getDescription();
@@ -199,8 +199,8 @@
 
 		//now re-enable the nature and ensure that the delta was null
 		builder.reset();
-		builder.addExpectedLifecycleEvent(SnowBuilder.SET_INITIALIZATION_DATA);
-		builder.addExpectedLifecycleEvent(SnowBuilder.STARTUP_ON_INITIALIZE);
+		builder.addExpectedLifecycleEvent(TestBuilder.SET_INITIALIZATION_DATA);
+		builder.addExpectedLifecycleEvent(TestBuilder.STARTUP_ON_INITIALIZE);
 		builder.addExpectedLifecycleEvent(SnowBuilder.SNOW_BUILD_EVENT);
 		try {
 			IProjectDescription desc = project.getDescription();