package com.xtremelabs.robolectric.shadows;

import android.content.res.Configuration;
import com.xtremelabs.robolectric.internal.Implementation;
import com.xtremelabs.robolectric.internal.Implements;
import com.xtremelabs.robolectric.internal.RealObject;

@Implements(Configuration.class)
public class ShadowConfiguration {

    @RealObject
    private Configuration realConfiguration;

    @Implementation
    public void setToDefaults() {
        realConfiguration.screenLayout = Configuration.SCREENLAYOUT_LONG_NO |
                Configuration.SCREENLAYOUT_SIZE_NORMAL;
    }
}

@@ -380,16 +380,110 @@
 ration;%0A
+    %0A    public int screenLayout;%0A    public int touchscreen;%0A    public int orientation;%0A    
 %0A    @Im

add ints to store orientation,screenLayout,touchscreen