Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNiraj Modi2019-08-08 02:39:55 -0400
committerNiraj Modi2019-08-09 01:47:36 -0400
commit53387c8334d1cbe3792d9e40535b132d82f16a1d (patch)
tree5f0a4341db0b6068c1dbf172251976a5a5f3e4a0 /tests
parent51553a1cd4273a35495a16cd6b8faa64438166af (diff)
downloadeclipse.platform.swt-53387c8334d1cbe3792d9e40535b132d82f16a1d.tar.gz
eclipse.platform.swt-53387c8334d1cbe3792d9e40535b132d82f16a1d.tar.xz
eclipse.platform.swt-53387c8334d1cbe3792d9e40535b132d82f16a1d.zip
Bug 549713 (Part2) - [Win32][API]Query the current system setting for
dark mode Change-Id: I1e77327958ecc1fe6ed20eac53143522441f4a46 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
index ebc6f7ca72..b9cfd12c71 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -1507,4 +1507,10 @@ public void test_setWarningsZ() {
display.dispose();
}
}
+
+@Test
+public void test_isSystemDarkTheme() {
+ System.out.println("org.eclipse.swt.widgets.Display.isSystemDarkTheme(): " + Display.isSystemDarkTheme());
+}
+
}

Back to the top